package com.linfnn.demo.Service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linfnn.demo.Mapper.HealthplanMapper;
import com.linfnn.demo.Model.Healthplan;
import com.linfnn.demo.Service.HealthplanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HealthplanServiceImpl extends ServiceImpl<HealthplanMapper, Healthplan> implements HealthplanService {

    @Autowired
    HealthplanMapper healthplanMapper;

    @Override
    public Healthplan getHealthplan(String PlanCode) {
        return baseMapper.selectById(PlanCode);
    }
}
